<% provide(:title, t('document.edit.title')) %> 
<h1><%= t('document.edit.title') %></h1>

<%= form_for(@document) do |f| %>	
	<%= render 'fields', f: f %>
	<%= f.submit t('document.edit.submit'), class: 'button' %>
<% end %>